#ifndef __PWM_H
#define __PWM_H
#include "stm32f4xx_hal.h"

/*
channel:TIM_CHANNEL_1,TIM_CHANNEL_2,TIM_CHANNEL_4,TIM_CHANNEL_4
value: -1000~+1000
*/

void SetPWM(uint32_t channel,int16_t value);
void InitPWM(uint32_t channel);
#endif /* __PWM_H */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
